package task1205.Demo.Demo2;

import java.text.DecimalFormat;

public class Demo1 {
    public static String dataFormat(double data){
        DecimalFormat df = new DecimalFormat();
        return df.format(data);
    }
    public static double sub(double num1,double num2){
        return (num1*10-num2*10)/10;
    }
}
